package com.dz.syndata.bean.device;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class DeviceBean implements Serializable {

    private String  code;
    private  Integer id;
    private  String value;
    private String updateTime;
    private int status;
    private String title;
    private String ITEMCODE;
    private String ITEMVALUE;
    private String ITEMID=null;
    private String ITEMDATE;
    private String ORGCODE;
    private String TIMEID;

    public String getTIMEID() {
        return TIMEID;
    }

    public void setTIMEID(String TIMEID) {
        this.TIMEID = TIMEID;
    }

    public String getORGCODE() {
        return ORGCODE;
    }

    public void setORGCODE(String ORGCODE) {
        this.ORGCODE = ORGCODE;
    }

    //入库流量
    private String RKLL;
    //出力
    private String HCL;

    public String getRKLL() {
        return RKLL;
    }

    public void setRKLL(String RKLL) {
        this.RKLL = RKLL;
    }

    public String getHCL() {
        return HCL;
    }

    public void setHCL(String HCL) {
        this.HCL = HCL;
    }

    public String getITEMCODE() {
        return ITEMCODE;
    }

    public void setITEMCODE(String ITEMCODE) {
        this.ITEMCODE = ITEMCODE;
    }

    public String getITEMVALUE() {
        return ITEMVALUE;
    }

    public void setITEMVALUE(String ITEMVALUE) {
        this.ITEMVALUE = ITEMVALUE;
    }

    public String getITEMID() {
        return ITEMID;
    }

    public void setITEMID(String ITEMID) {
        this.ITEMID = ITEMID;
    }

    public String getITEMDATE() {
        return ITEMDATE;
    }

    public void setITEMDATE(String ITEMDATE) {
        this.ITEMDATE = ITEMDATE;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * BasicResponse : {"succeeded":1}
     * RTDataSets : [{"tag":"OK","kksCode":"EB000HP1MKZ01MK016ZZ02J3ED002AA05","RTDataValues":[{"Value":56.7115,"Time":1628578469000}]}]
     */

    private BasicResponseBean BasicResponse;
    private List<RTDataSetsBean> RTDataSets;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BasicResponseBean getBasicResponse() {
        return BasicResponse;
    }

    public void setBasicResponse(BasicResponseBean BasicResponse) {
        this.BasicResponse = BasicResponse;
    }

    public List<RTDataSetsBean> getRTDataSets() {
        return RTDataSets;
    }

    public void setRTDataSets(List<RTDataSetsBean> RTDataSets) {
        this.RTDataSets = RTDataSets;
    }

    public static class BasicResponseBean {
        /**
         * succeeded : 1
         */

        private int succeeded;

        public int getSucceeded() {
            return succeeded;
        }

        public void setSucceeded(int succeeded) {
            this.succeeded = succeeded;
        }
    }

    public static class RTDataSetsBean {
        /**
         * tag : OK
         * kksCode : EB000HP1MKZ01MK016ZZ02J3ED002AA05
         * RTDataValues : [{"Value":56.7115,"Time":1628578469000}]
         */

        private String tag;
        private String kksCode;
        private List<RTDataValuesBean> RTDataValues;

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public String getKksCode() {
            return kksCode;
        }

        public void setKksCode(String kksCode) {
            this.kksCode = kksCode;
        }

        public List<RTDataValuesBean> getRTDataValues() {
            return RTDataValues;
        }

        public void setRTDataValues(List<RTDataValuesBean> RTDataValues) {
            this.RTDataValues = RTDataValues;
        }

        public static class RTDataValuesBean {
            /**
             * Value : 56.7115
             * Time : 1628578469000
             */

            private double Value;
            private long Time;

            public double getValue() {
                return Value;
            }

            public void setValue(double Value) {
                this.Value = Value;
            }

            public long getTime() {
                return Time;
            }

            public void setTime(long Time) {
                this.Time = Time;
            }
        }
    }
}
